package com.sgb.kjwl.pop;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.sgb.kjwl.R;

import androidx.recyclerview.widget.RecyclerView;
import razerdp.basepopup.BasePopupWindow;

/**
 * 作者:张磊
 * 日期:2019/10/24
 * 说明:商品属性弹框
 */
public class ParamsPop extends BasePopupWindow {


    public RecyclerView mRv;
    public TextView mTvValue;

    public ParamsPop(Context context) {
        super(context);
    }

    @Override
    public View onCreateContentView() {
        View v = createPopupById(R.layout.params_pop);
        mRv = v.findViewById(R.id.rv);
        mTvValue = v.findViewById(R.id.tv_value);
        v.findViewById(R.id.tv_btn).setOnClickListener(v1 -> dismiss());
        return v;
    }
}
